#include "GeometryBuffers.h"

using namespace DirectX;

//
// Buffer info
//

IndexedBufferInfo::IndexedBufferInfo()
	: mVertexBuffer(nullptr)
	, mIndexBuffer(nullptr)
	, mBaseVertexLocation(0)
	, mStartIndexLocation(0)
	, mIndexCount(0)
{

}

NonIndexedBufferInfo::NonIndexedBufferInfo()
	: mVertexBuffer(nullptr)
	, mBaseVertexLocation(0)
	, mVertexCount(0)
{

}


//
// Vertex
//

Vertex::Vertex(const XMFLOAT3& pos, const XMFLOAT2& texC)
	: mPos(pos)
	, mTexC(texC)
{

}

Vertex::Vertex(const float posX, const float posY, const float posZ, const float texCU, const float texCV)
	: mPos(posX, posY, posZ)
	, mTexC(texCU, texCV)
{

}